package com.hssy.wululuaplan.constants.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 自定义异常代码
 * @author Mr.Hongtao
 */
@Getter
@AllArgsConstructor
public enum ExceptionEnum {
    arithmeticException(-2, "算数异常", null, null, null),
    error(-1,"系统错误",null, null, null),

    no_login(-2,"未登录", null, null, null);
    private final int code;
    private final String message;
    private final String traceId;
    private final String possibleReason;
    private final String suggestMeasure;
}
